// 食材类型
export interface Ingredient{
  name: string;
  quantity: string;
};

// 烹饪步骤类型
export interface CookingStep  {
  step_number: number;
  content: string;
  image?: string; // 可选属性，因为有些步骤可能没有图片
};

// 菜谱类型
export interface RecipeType {
	objectId:string;
  cover: string;
  name: string;
  ingredients: Ingredient[];
  steps: CookingStep[];
  cooking_time: string;
  difficulty: "简单" | "中等" | "困难"; // 使用联合类型限定难度级别
  calories: string;
  categories: string[];
  tags: string[];
};